<template>
  <grid-view>
    <goods-list-item v-for="(item, index) in goodsList" :key="index" :goods="item"></goods-list-item>
  </grid-view>
</template>

<script>
  import GridView from '@/components/common/gridView/GridView'
  import GoodsListItem from './GoodsListItem'
export default {
  name: 'IshopGoodslist',
  components:{
    GridView,
    GoodsListItem
  },
  props: {
    goodsList:{
      type: Array,
      default: []
    }
  },
  watch:{
    goodsList: function (newValue) {
      // console.log(newValue);
    }
  },
};
</script>

<style scoped>

</style>